package org.bt.rpc.api.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户信息dto
 *
 * @author tongw
 * @date 2021/8/18
 */
@Data
public class UserRemoteDto implements Serializable {
    @ApiModelProperty(value = "访问令牌")
    private String token;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "用户账号")
    private String username;
    @ApiModelProperty(value = "用户名称")
    private String name;
    @ApiModelProperty(value = "用户密码")
    private String password;
    @ApiModelProperty(value = "密码盐值")
    private String salt;
    @ApiModelProperty(value = "邮箱地址")
    private String email;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "可用状态(1:可用; 0:不可用)")
    private int available;
    @ApiModelProperty(value = "删除状态(1:删除; 0:未删除)")
    private int delFlag;
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private Timestamp updateDt;
    @ApiModelProperty(value = "创建者")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private Timestamp createDt;
}
